<!--使用：重写body里面的布局-->
<@override name="content">
<!-- 顶部 -->
<#include "_header.html"/>
<!-- 左侧菜单 -->
<#include "_nav.html"/>
<!-- 右侧 -->
<#include "_right.html"/>
<script type="text/javascript">
    function logout(){
        console.log("out ====")
        $.ajax({
            url:'/logout',
            type:'POST',
            dataType:'json',
            data:{},
            success:function(res){
                if(res.code == 0){
                    window.location.href = "/";
                }else{
                    alert("操作失败");
                }
            }
        });
    }

</script>
</@override>

<!-- extends要写在最后 -->
<@extends name="_base.html"/>
